export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "scheduleId",
      "span": 12,
      addDisplay: false,
      editDisplay: false,
      hide: true
    },	  {
      "type": "select",
      "label": "医生",
      "prop": "doctorId",
      width: 100,
      filterable: true,
      search: true,
      dicUrl: '/act/physicaldoctor/page?size=-1&status=1',
      props: {
        label: 'doctorName',
        value: 'doctorId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: '请选择医生',
        trigger: 'change'
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "周天",
      width: 100,
      "prop": "weekDay",
      search: true,
      dicUrl: "/admin/dict/type/week_day",
      rules: [{
        required: true,
        message: '请选择周天',
        trigger: 'blur'
      }],
      "span": 12
    },	  {
      "type": "number",
      "label": "提前天数",
      width: 100,
      "prop": "advanceDay",
      maxRows: 1000000,
      minRows:0,
      rules: [{
        required: true,
        message: '请填写提前天数',
        trigger: 'blur'
      }],
      value: 1,
      "span": 12
    },	  {
      "type": "select",
      "label": "包含当天",
      width: 100,
      "prop": "containing",
      dicUrl: '/admin/dict/type/contains_status',
      search: true,
      value: '1',
      "span": 12,
      rules: [{
        required: true,
        message: '请输入包含当天',
        trigger: 'change'
      }],
    },	  {
      "type": "time",
      "label": "预约起始时间",
      "prop": "startTime",
      width: 100,
      format: 'HH:mm',
      valueFormat: 'HH:mm:ss',
      "span": 12,
      rules: [{
        required: true,
        message: '请输入预约起始时间',
        trigger: 'change'
      }],
    },	  {
      "type": "time",
      "label": "预约结束时间",
      width: 100,
      "prop": "endTime",
      format: 'HH:mm',
      valueFormat: 'HH:mm:ss',
      "span": 12,
      rules: [{
        required: true,
        message: '请输入预约结束时间',
        trigger: 'change'
      }],
    },	  {
      "type": "select",
      "label": "状态",
      width: 100,
      "prop": "status",
      dicUrl: '/admin/dict/type/use_status',
      search: true,
      value: '1',
      "span": 12
    },	  {
      "type": "checkbox",
      all: true,
      "label": "排班时段",
      "prop": "periodIds",
      dicUrl: '/act/reserveperiod/page?size=-1&status=1&reserveType=physical',
      props: {
        label: 'periodName',
        value: 'periodId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: '请选择排班时段',
        trigger: 'change'
      }],
      "span": 24
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    }]
}
